﻿using System.Web;
using System.Web.Optimization;

namespace ReportFramework
{
    public class BundleConfig
    {
        // For more information on bundling, visit http://go.microsoft.com/fwlink/?LinkId=301862
        public static void RegisterBundles(BundleCollection bundles)
        {
            bundles.Add(new ScriptBundle("~/bundles/jquery").Include(
                        "~/Scripts/jquery-{version}.js"));

            bundles.Add(new ScriptBundle("~/bundles/jqueryval").Include(
                        "~/Scripts/jquery.validate*"));

            // Use the development version of Modernizr to develop with and learn from. Then, when you're
            // ready for production, use the build tool at http://modernizr.com to pick only the tests you need.
            bundles.Add(new ScriptBundle("~/bundles/modernizr").Include(
                        "~/Scripts/modernizr-*"));

            bundles.Add(new ScriptBundle("~/bundles/bootstrap").Include(
                      "~/Scripts/bootstrap.js",
                      "~/Scripts/respond.js"));

            bundles.Add(new StyleBundle("~/bundles/customctrscss").Include(
                      "~/ReportFramework/css/customctrs/*.css"));

            bundles.Add(new StyleBundle("~/bundles/customctrsjs").Include(
                      "~/ReportFramework/js/customctrs/*.js"));

            bundles.Add(new ScriptBundle("~/bundles/reportframeworkjs").Include(
                       "~/ReportFramework/js/json/json_parse.js",
                       "~/ReportFramework/js/common.js",
                       "~/ReportFramework/js/reportframework.js"));

            bundles.Add(new ScriptBundle("~/bundles/reportframeworkcss").Include(
                    "~/ReportFramework/css/*.css"));

            bundles.Add(new ScriptBundle("~/metronic/js").Include(
                      "~/Metronic/theme/assets/global/plugins/jquery-migrate.min.js",
                      "~/Metronic/theme/assets/global/plugins/jquery-ui/jquery-ui-1.10.3.custom.min.js",
                      "~/Metronic/theme/assets/global/plugins/bootstrap-hover-dropdown/bootstrap-hover-dropdown.min.js",
                      "~/Metronic/theme/assets/global/plugins/jquery-slimscroll/jquery.slimscroll.min.js",
                      "~/Metronic/theme/assets/global/plugins/jquery.blockui.min.js",
                      "~/Metronic/theme/assets/global/plugins/jquery.cokie.min.js",
                      //"~/Metronic/theme/assets/global/plugins/uniform/jquery.uniform.min.js",
                      "~/Metronic/theme/assets/global/plugins/bootstrap-switch/js/bootstrap-switch.min.js",
                      //"~/Metronic/theme/assets/global/plugins/select2/select2.min.js",
                      "~/Metronic/theme/assets/global/scripts/metronic.js",
                      "~/Metronic/theme/assets/admin/layout/scripts/layout.js",
                      "~/Metronic/theme/assets/admin/layout/scripts/quick-sidebar.js",
                      "~/Metronic/theme/assets/admin/layout/scripts/demo.js"
                      ));

            bundles.Add(new StyleBundle("~/Content/css").Include(
                      "~/Content/bootstrap.css"));

            bundles.Add(new StyleBundle("~/metronic/css").Include(
                  //GLOBAL MANDATORY STYLES
                  "~/Metronic/theme/assets/global/plugins/font-awesome/css/font-awesome.min.css",
                  "~/Metronic/theme/assets/global/plugins/simple-line-icons/simple-line-icons.min.css",
                  //"~/Metronic/theme/assets/global/plugins/uniform/css/uniform.default.css",
                  "~/Metronic/theme/assets/global/plugins/bootstrap-switch/css/bootstrap-switch.min.css",
                  //"~/Metronic/theme/assets/global/plugins/select2/select2.css",
                  "~/Metronic/theme/assets/global/css/components.css",
                  "~/Metronic/theme/assets/global/css/plugins.css",
                  "~/Metronic/theme/assets/admin/layout/css/layout.css",
                  "~/Metronic/theme/assets/admin/layout/css/custom.css"));
        }
    }
}
